/*
 * CStack.h
 *
 *  Created on: Sep 23, 2014
 *      Author: hung
 */

#ifndef CSTACK_H_
#define CSTACK_H_

class CStack {

	struct Node {
		Node* next;
		char data;
	};
public:
	Node* pTop;
	int size;
	bool push(char);
	bool pop(char&);
	char top();
	void view();
	CStack();
	virtual ~CStack();
};

#endif /* CSTACK_H_ */
